package com.hunting.agl.register;




import com.opensymphony.xwork2.ActionSupport;

public class RegisterAction extends ActionSupport {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Register register;
	private RegisterDao registerDao;
	
	public Register getRegister() {
		return register;
	}
	public void setRegister(Register register) {
		this.register = register;
	}
	public RegisterDao getRegisterDao() {
		return registerDao;
	}
	public void setRegisterDao(RegisterDao registerDao) {
		this.registerDao = registerDao;
	}
	
	
	public String saveRegister(){
		registerDao.saveOrUpdate(this.register);
		return SUCCESS;
	}
	
	
	
}
